package extensions.prototipador.undo;

import extensions.prototipador.sprites.Sprite;

public class UndoAction
{
	ActionType _actionType;
	Sprite[] _sprites;
	int _y;
	int _x;

	public UndoAction(ActionType type, Sprite[] sprites, int x, int y)
	{
		_actionType = type;
		_sprites = sprites;
		_x = x;
		_y = y;
	}

	public UndoAction(ActionType move, Sprite[] sprites, float x, float y) {
		this(move, sprites, (int)x, (int)y);
	}
}